package com.lc.zpyh.http.response;

import java.util.List;

public class BannerBean {

    /**
     * costTime : 30
     * msg : 操作成功
     * list : [{"adverId":1,"adverImg":"测试","schoolId":1,"merchantId":1,"commodityId":1,"adverType":0},{"adverId":2,"adverImg":"测试2","schoolId":1,"merchantId":1,"commodityId":1,"adverType":0}]
     * code : 0
     */

    private Integer costTime;
    private String msg;
    private Integer code;
    private List<ListBean> list;

    public Integer getCostTime() {
        return costTime;
    }

    public void setCostTime(Integer costTime) {
        this.costTime = costTime;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean {
        public ListBean(Integer adverId, String adverImg, Integer schoolId, String merchantId, Integer commodityId, Integer adverType) {
            this.adverId = adverId;
            this.adverImg = adverImg;
            this.schoolId = schoolId;
            this.merchantId = merchantId;
            this.commodityId = commodityId;
            this.adverType = adverType;


        }

        /**
         * adverId : 1
         * adverImg : 测试
         * schoolId : 1
         * merchantId : 1
         * commodityId : 1
         * adverType : 0
         */

        private Integer adverId;
        private String adverImg;
        private Integer schoolId;
        private String merchantId;
        private Integer commodityId;
        private Integer adverType;
        private Integer adverState;
        private String adverLink;

        public Integer getAdverState() {
            return adverState;
        }

        public void setAdverState(Integer adverState) {
            this.adverState = adverState;
        }

        public String getAdverLink() {
            return adverLink;
        }

        public void setAdverLink(String adverLink) {
            this.adverLink = adverLink;
        }

        public Integer getAdverId() {
            return adverId;
        }

        public void setAdverId(Integer adverId) {
            this.adverId = adverId;
        }

        public String getAdverImg() {
            return adverImg;
        }

        public void setAdverImg(String adverImg) {
            this.adverImg = adverImg;
        }

        public Integer getSchoolId() {
            return schoolId;
        }

        public void setSchoolId(Integer schoolId) {
            this.schoolId = schoolId;
        }

        public String getMerchantId() {
            return merchantId;
        }

        public void setMerchantId(String merchantId) {
            this.merchantId = merchantId;
        }

        public Integer getCommodityId() {
            return commodityId;
        }

        public void setCommodityId(Integer commodityId) {
            this.commodityId = commodityId;
        }

        public Integer getAdverType() {
            return adverType;
        }

        public void setAdverType(Integer adverType) {
            this.adverType = adverType;
        }
    }
}
